<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>意见反馈</title>
    <script th:src="@{/layui/layui.js}" type="text/javascript"></script>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" />
</head>
<body>

<div class="layui-panel" style="padding: 8px;">
    <fieldset class="layui-elem-field layui-border-blue">
        <legend>搜索信息</legend>
        <form class="layui-form layui-form-pane" style="margin: 20px;">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">名称</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" type="text" name="name" autocomplete="off" />
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <a class="layui-btn layui-btn-normal" lay-submit="" lay-filter="searchBtn">
                            <i class="layui-icon layui-icon-search"></i>
                            搜索
                        </a>
                    </div>
                </div>
            </div>
        </form>
    </fieldset>
    <div>
        <table id="feedBackTable" lay-filter="feedBackTable"></table>
    </div>

</div>


<script id="tool" type="text/html">
    <a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>


<script>
    layui.use(['table','form','layer'],function(){
        var table =layui.table,form=layui.form;
        layer=layui.layer;
        //加载动态表格
        table.render({
            elem:'#feedBackTable',
            height:'full-160',
            page:true,//分页
            url:'/system/fbc/find',
            defaultToolbar:['filter','exports','print'],//默认工具条
            toolbar:'#tableBar',//工具条
            cols:[
                [
                {type:'checkbox'},
                {field:'id',title:'反馈ID',sort:true},//sort排序
                {field:'userName',title:'用户名'},
                {field:'mobile',title:'手机号'},
                {field:'type',title:'反馈类型'},
                {field:'content',title:'反馈内容'},
                {field:'picture',title:'反馈图片'},
                {field:'createTime',title:'时间'},
            ]
            ],

        })


    })
</script>
</body>
</html>
